import account from './main/account.vue'
import login from './login/login.vue'
import register from './login/register.vue'

import VueRouter from 'vue-router'


var myRouter = new VueRouter({
    routes: [
        { path: '/account', component: account, children:[
            {path:'login', component: login},
            {path:'register', component: register},
        ] },
    ]
})

export default myRouter